<template>
<h1>分栏布局组件</h1>
  <hr>
  <el-row :gutter="20" >
   <el-col :span="6" style="border: 1px solid #f00;" >测试数据</el-col>
   <el-col :span="6" style="border: 1px solid #f00;" >测试数据</el-col>
   <el-col :span="6" style="border: 1px solid #f00;" >测试数据</el-col>
   <el-col :span="6" style="border: 1px solid #f00;" >测试数据</el-col>
  </el-row>
  <hr>
  <el-row :gutter="20">
    <el-col :span="12"><img src="2024.png"  style="width: 100%"></el-col>
    <el-col :span="12"><img src="2024.png"  style="width: 100%"></el-col>
  </el-row>
  <hr>
  <el-row :gutter="10">
    <el-col :span="4"><img src="2024.png"  style="width: 100%"></el-col>
    <el-col :span="4"><img src="2024.png"  style="width: 100%"></el-col>
    <el-col :span="4"><img src="2024.png"  style="width: 100%"></el-col>
    <el-col :span="4"><img src="2024.png"  style="width: 100%"></el-col>
    <el-col :span="4"><img src="2024.png"  style="width: 100%"></el-col>
    <el-col :span="4"><img src="2024.png"  style="width: 100%"></el-col>
  </el-row>
  <hr>

  <el-row :gutter="10">
    <el-col :span="4"><img src="2024.png"  style="width: 100%"></el-col>
    <el-col :span="8"><img src="2024.png"  style="width: 100%"></el-col>
    <el-col :span="12"><img src="2024.png"  style="width: 100%"></el-col>
  </el-row>
  <hr>

<h3>1 2 3 4 5 6 7 8</h3>//均分8份
  <el-row :gutter="10">
   <el-col :span="3" v-for="i in 8">{{ i }}</el-col>

  </el-row>

  <h3>列偏移2：占12列 且居中</h3>
  <el-row :gutter="20">
    <el-col :span="12" :offset="6"><img src="2024.png" style="width: 100%" >  </el-col>
  </el-row>

  <hr>

  <el-row :gutter="10">
   <el-col :span="12" style="border: 5px solid #0f0">左侧</el-col>
   <el-col :span="12" style="border: 5px solid #f00">
     <el-row :gutter="10">
      <el-col :span="8" style="border: 3px solid #00f">1</el-col>
      <el-col :span="8" style="border: 3px solid #0ff">1</el-col>
      <el-col :span="8" style="border: 3px solid #ff0">1</el-col>
     </el-row>
   </el-col>
  </el-row>




</template>
<script setup>

</script>


<style scoped>

</style>